import React from "react";

import Constants from "../../common/Constants";
import CommonSendFetchAction from "../common/CommonSendFetchAction";

//请求帖子列表
export default class SportSendActivityStepsDailyAction extends CommonSendFetchAction {
  constructor(props) {
    super(props);
    this.moduleType = Constants.MODULE_TYPE.SPORT;
    this.name = "SportSendActivityStepsDailyAction";
  }

  _dealFinishSucess(data, response) {
    let detail = "";
    if (data && data.detail != undefined) {
      detail = data.detail;
    }
    this.caller.setState({
      statusText: detail,
      submitStepSuccess: true
    });
  }
}
